<template>
  <div class="">
   <h1>--------------子组件---------------</h1>
   <h2>数量{{$store.state.counter}}</h2>
   <button >+</button>
   <button>-</button>
    <h2>{{$store.getters.powerCount}}</h2>
  </div>
</template>

<script>

export default {
    components: {},
    data() {
        return {

        };
    },
    components: {},
    watch: {},
    created() {},
    mounted() {},
    methods: {},
    }
</script>
<style lang='less' scoped>
</style>